package com.anolesoft.amljmes.fortysix.service.impl;

import com.anolesoft.amljmes.fortysix.dto.MesBzzPtdmxDto;
import com.anolesoft.amljmes.fortysix.service.info.MesBzzCpptmxService;
import com.anolesoft.amljmes.fortysix.service.mapper.MesBzzCpptmxServiceMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MesBzzCpptmxServiceImpl implements MesBzzCpptmxService {
    @Autowired
    MesBzzCpptmxServiceMapper mesBzzCpptmxServiceMapper;

    @Override
    public List<MesBzzPtdmxDto> queryMesBzzCpptmx(String matchingDocPk) {
        List<MesBzzPtdmxDto> list = mesBzzCpptmxServiceMapper.queryMesBzzCpptmx(matchingDocPk);
        return list;
    }

    @Override
    public int updateCpptmxPt(String objuid,int num) {
        return mesBzzCpptmxServiceMapper.updateCpptmxPt(objuid,num);
    }

    @Override
    public int updateCpptmxJc(String objuid,int num1) {
        return mesBzzCpptmxServiceMapper.updateCpptmxJc(objuid,num1);
    }
}
